package team.seekers.catering.community.entity.dto.update;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.List;

@Data
public class LikeOrCommentUpdateDTO {

    @NotBlank(message = "主键id不能为空")
    @Size(max = 20, message = "主键id长度不能超过19")
    private String id;

    @ApiModelProperty(value = "点赞用户id集合")
    private List<String> likeUser;

    @ApiModelProperty(value = "点赞数")
    private Integer likeNum;

    @ApiModelProperty(value = "评论id集合")
    private List<String> commentsFirst;

    @ApiModelProperty(value = "评论数")
    private Integer commentsNum;

}
